package com.zzw.bridge.business.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzw.bridge.business.dto.ReportQueryDTO;
import com.zzw.bridge.business.dto.ReportStatisticDTO;
import com.zzw.bridge.business.dto.ZzwPierColumnReportDTO;
import com.zzw.bridge.business.vo.ReportStatisticVo;
import com.zzw.bridge.business.vo.ZzwPierColumnReportHisVo;
import com.zzw.bridge.business.vo.ZzwPierColumnReportVo;
import com.zzw.bridge.business.vo.ZzwPierProjectVo;
import com.zzw.bridge.common.entitys.business.ZzwPierColumnReportEntity;
import com.zzw.bridge.common.entitys.business.ZzwPierColumnReportHisEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 墩柱报告信息表
 *
 * @author XiaoJie
 * @email
 * @date 2025-05-16 11:44:33
 */
@Mapper
public interface ZzwPierColumnReportHisDao extends BaseMapper<ZzwPierColumnReportHisEntity> {

    /**
     * 插入桥墩报告信息
     *
     * @param dto {@link ZzwPierColumnReportDTO} 桥墩报告信息
     * @return    {@link long}
     */
    long insertPierColumnReport(@Param("dto") ZzwPierColumnReportDTO dto);

    /**
     * 分页查询
     *
     * @param page {@link Page< ZzwPierColumnReportHisVo >  "分页"
     * @param dto {@link ReportQueryDTO} 桥墩报告信息
     * @return {@link Page<ZzwPierColumnReportHisVo>}
     */
    Page<ZzwPierColumnReportHisVo> selectHisByPage(Page<ZzwPierColumnReportHisVo> page, ReportQueryDTO dto);

}
